Repository navigation
ci: split pr-osp-select by README section - #534
Conversation
- pr-osp-select.yml becomes pr-osp-select-network.yml, pr-osp-select-auth-crypto.yml and pr-osp-select-validation.yml, grouped by the job's section in the workflows README. Each file has its own select job, workflow name and concurrency group. - pr-osp-retry.yml listens to all three workflow names and accepts all three file paths. - The workflows README maps each file to its sections, states the 50-workflow limit, and names the file for each command and for ci:perf.
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the workflow split and retry updates.
No open issues 🎉
What changed in this PR
Splits label-selected PR testing into three workflows to stay below GitHub’s 50-workflow reference limit while preserving existing labels and job definitions.
Changes:
- Groups jobs by README section, with separate concurrency groups.
- Updates automatic retries to recognize all three workflows.
- Documents the split and revised manual-dispatch commands.
| File | Description |
|---|---|
.github/workflows/README.md |
Documents workflow groups and usage. |
.github/workflows/pr-osp-select-validation.yml |
Groups validation and sweep jobs. |
.github/workflows/pr-osp-select-network.yml |
Retains networking, web, and wireless jobs. |
.github/workflows/pr-osp-select-auth-crypto.yml |
Groups authentication and cryptography jobs. |
.github/workflows/pr-osp-retry.yml |
Accepts all three workflow names and paths. |
Review effort: Balanced
|
@claude review |
There was a problem hiding this comment.
I reviewed this split and found no bugs. A human should still look at it: it changes the trust check in the retry workflow, which has actions: write, and the earlier automated review's comments have no follow-up commit yet.
What was reviewed:
- All 49 jobs from the old
pr-osp-select.ymlare in exactly one of the three new files, unchanged, with nothing dropped or duplicated. Theselectjob, permissions and per-file concurrency groups match. - The three
workflows:names inpr-osp-retry.ymlmatch each file'sname:exactly. The newcasepath pin matches only those three literal paths and rejects anything else. No references to the old file name or workflow name remain. - The README's file-to-section table matches the jobs in each file.
Extended reasoning...
The change splits the label-driven PR OSP workflow into three files to stay under GitHub's 50-referenced-workflow limit, and updates the retry workflow and README to match. The security-relevant part is pr-osp-retry.yml: it runs on workflow_run with actions: write, and its trusted-path pin changes from one string comparison to a three-way case. The case uses exact literal patterns, and the collaborator-permission check is unchanged. A review by another reviewer with an unknown number of comments has no later commit, so it can't be confirmed as addressed, and that ruled out approval.
wolfSSL-Fenrir-bot
left a comment
There was a problem hiding this comment.
Fenrir Automated Review — PR #534
Scan targets checked: wolfprovider-pr-general
Review type: general (no scan target covers the changed files)
Coverage: 3 of 5 in-scope changed file(s) opened by the reviewer; not opened: .github/workflows/pr-osp-select-auth-crypto.yml, .github/workflows/pr-osp-select-validation.yml
Fenrir result: Approved ✅
No new issues found in the changed files.
Advisory only — this automated result does not count as a GitHub approval.
Review tier: Max
Problem
Every
ci:*label run ofpr-osp-select.ymlfails at startup with 0 jobs (e.g. on #503, #505, #511, #512):GitHub caps one workflow file at 50 unique referenced workflows, nested calls included. Adding
mosquitto.ymlandmusl.ymltookpr-osp-select.ymlfrom 49 to 51.Fix (
.github/workflows/pr-osp-select-*.yml)The jobs are split into three workflows by their section in the workflows README:
pr-osp-select-network.ymlpr-osp-select-auth-crypto.ymlpr-osp-select-validation.ymlmulti-compiler,musl,perf,libacvp-pqcci:<name>label triggers all three files; the files without that job skip everything afterselect.pr-osp-retry.ymllistens to all three workflow names and accepts all three file paths.gh workflow runexamples.Verification
pr-osp-select.yml, with no overlap between files.pr-osp-retry.yml.Not in this PR
nightly-osp.ymlreferences exactly 50 workflows. It runs today, but the next workflow added to it will fail the same way. Splitting it is not a simple move, because wave 2needs: wave1-done, andneeds:cannot reach across workflow files.